<?php
/*
 * Created by generator
 *
 */

$this->load->helper('form');
$this->load->helper('url');
$this->load->helper('views');
?>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Editer un saison</title>
<link rel="stylesheet" href="<?=base_url()?>www/css/screen.css" type="text/css" media="screen" title="default" />
<!--[if IE]>
<link rel="stylesheet" media="all" type="text/css" href="<?=base_url()?>www/css/pro_dropline_ie.css" />
<![endif]-->

<!--  jquery core -->
<script src="<?=base_url()?>www/js/jquery/jquery-1.4.1.min.js" type="text/javascript"></script>


<!-- CALENDAR -->
<script src="<?=base_url()?>www/js/JSCal2-1.8/src/js/jscal2.js"></script>
<script src="<?=base_url()?>www/js/JSCal2-1.8/src/js/lang/fr.js"></script>
<link rel="stylesheet" type="text/css" href="<?=base_url()?>www/js/JSCal2-1.8/src/css/jscal2.css" />
<link rel="stylesheet" type="text/css" href="<?=base_url()?>www/js/JSCal2-1.8/src/css/border-radius.css" />
<style>
.DynarchCalendar-title { padding-left:40px; }
</style>
<!-- /CALENDAR -->


<!--  checkbox styling script -->
<script src="<?=base_url()?>www/js/jquery/ui.core.js" type="text/javascript"></script>
<script src="<?=base_url()?>www/js/jquery/ui.checkbox.js" type="text/javascript"></script>
<script src="<?=base_url()?>www/js/jquery/jquery.bind.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	$('input').checkBox();
	$('#toggle-all').click(function(){
 	$('#toggle-all').toggleClass('toggle-checked');
	$('#mainform input[type=checkbox]').checkBox('toggle');
	return false;
	});
});
</script>  

<![if !IE 7]>

<!--  styled select box script version 1 -->
<script src="<?=base_url()?>www/js/jquery/jquery.selectbox-0.5.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('.styledselect').selectbox({ inputClass: "selectbox_styled" });
});
</script>
 

<![endif]>

<!--  styled select box script version 2 --> 
<script src="<?=base_url()?>www/js/jquery/jquery.selectbox-0.5_style_2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('.styledselect_form_1').selectbox({ inputClass: "styledselect_form_1" });
	$('.styledselect_form_2').selectbox({ inputClass: "styledselect_form_2" });
});
</script>

<!--  styled select box script version 3 --> 
<script src="<?=base_url()?>www/js/jquery/jquery.selectbox-0.5_style_2.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
	$('.styledselect_pages').selectbox({ inputClass: "styledselect_pages" });
});
</script>

<!--  styled file upload script --> 
<script src="<?=base_url()?>www/js/jquery/jquery.filestyle.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
  $(function() {
      $("input.file_1").filestyle({ 
          image: "<?=base_url()?>www/images/forms/choose-file.gif",
          imageheight : 21,
          imagewidth : 78,
          width : 310
      });
  });
</script>

<!-- Custom jquery scripts -->
<script src="<?=base_url()?>www/js/jquery/custom_jquery.js" type="text/javascript"></script>
 
<!-- Tooltips -->
<script src="<?=base_url()?>www/js/jquery/jquery.tooltip.js" type="text/javascript"></script>
<script src="<?=base_url()?>www/js/jquery/jquery.dimensions.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	$('a.info-tooltip ').tooltip({
		track: true,
		delay: 0,
		fixPNG: true, 
		showURL: false,
		showBody: " - ",
		top: -35,
		left: 5
	});
});
</script> 


<!-- MUST BE THE LAST SCRIPT IN <HEAD></HEAD></HEAD> png fix -->
<script src="<?=base_url()?>www/js/jquery/jquery.pngFix.pack.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$(document).pngFix( );
});
</script>
</head>
<body>

<!-- Start: page-top-outer -->
<div id="page-top-outer">    

<!-- Start: page-top -->
<div id="page-top">

	<!-- start logo -->
	<div id="logo">
	<a href=""><img src="<?=base_url()?>www/images/shared/logo-small.png" alt="" /></a>
	</div>
	<!-- end logo -->
	
	<?= htmlSearch() ?>
	
 	<div class="clear"></div>

</div>
<!-- End: page-top -->

</div>
<!-- End: page-top-outer -->
	
<div class="clear">&nbsp;</div>
 
<!--  start nav-outer-repeat................................................................................................. START -->
<div class="nav-outer-repeat"> 
<!--  start nav-outer -->
<div class="nav-outer"> 

	<?= htmlMyAccount() ?>
	<?= htmlNavigation("saisons","edit"); ?>

</div>
<div class="clear"></div>
<!--  start nav-outer -->
</div>
<!--  start nav-outer-repeat................................................... END -->

 <div class="clear"></div>
 
<!-- start content-outer ........................................................................................................................START -->
<div id="content-outer">
<!-- start content -->
<div id="content">

	<!--  start page-heading -->
	<div id="page-heading">
		<h1>Editer un saison</h1>
	</div>
	<!-- end page-heading -->
	
	<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
	<tr>
		<th rowspan="3" class="sized"><img src="<?=base_url()?>www/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
		<th class="topleft"></th>
		<td id="tbl-border-top">&nbsp;</td>
		<th class="topright"></th>
		<th rowspan="3" class="sized"><img src="<?=base_url()?>www/images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
	</tr>
	<tr>
		<td id="tbl-border-left"></td>
		<td>
		<!--  start content-table-inner ...................................................................... START -->
		<div id="content-table-inner">
		
			<!--  start table-content  -->
			<div id="table-content">
				<!-- start id-form -->
				<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
			
<?
$attributes_info = array('name' => 'EditForm');
$fields_info = array('saiidsai' => $saison->saiidsai);
echo form_open_multipart('editsaison/save', $attributes_info, $fields_info );
?>
		<!-- list of variables - auto-generated : -->
		<tr>
			<td><label title="Nom donné à la saison" for="sailbnom">Libellé</label> : </td>
			<td><input type="text" name="sailbnom" id="sailbnom" class="inp-form-error" value="<?= $saison->sailbnom ?>" ></td>
			<td></td>
		</tr>
		<tr>
			<td><label title="Date de début de la saison" for="saidtdeb">Date de début</label> : </td>
			<td><input type="text" name="saidtdeb" id="saidtdeb" size="8" maxlength="10" value="<?= $saison->saidtdeb ?>" class="inp-form"> <img src="<?=base_url()?>www/images/forms/icon_calendar.jpg" alt="" id="btn_saidtdeb"></td>
			<td>&nbsp; &nbsp; &nbsp;</td>
			<td><label title="Date de fin de la saison" for="saidtfin">Date de fin</label> : </td>
			<td><input type="text" name="saidtfin" id="saidtfin" size="8" maxlength="10" value="<?= $saison->saidtfin ?>" class="inp-form"> <img src="<?=base_url()?>www/images/forms/icon_calendar.jpg" alt="" id="btn_saidtfin"></td>
		</tr>
		<tr>
			<td><label title="Nombre de semaines de cours" for="sainbsem">Nombre de semaines</label> : </td>
			<td><input type="text" name="sainbsem" id="sainbsem" value="<?= $saison->sainbsem ?>" class="inp-form"></td>
			<td></td>
		</tr>
		<tr>
			<td></td>
			<td>
				<input type="submit" value="" class="form-submit" />
				<input type="button" value="" class="form-retour"
					onclick="document.location.href='<?=base_url()?>index.php/listsaisons';return false;" />
			</td>
		</tr>
	</table>
	<script type="text/javascript">//<![CDATA[
      var cal = Calendar.setup({
          onSelect: function(cal) { cal.hide() },
          showTime: false
      });
	cal.manageFields("btn_saidtdeb", "saidtdeb", "%d/%m/%Y");
	cal.manageFields("btn_saidtfin", "saidtfin", "%d/%m/%Y");

    //]]></script>
<?
echo form_close('');
?>

			</div>
		</div>
		<!--  end content-table-inner ............................................END  -->
		</td>
		<td id="tbl-border-right"></td>
	</tr>
	<tr>
		<th class="sized bottomleft"></th>
		<td id="tbl-border-bottom">&nbsp;</td>
		<th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer........................................................END -->

<div class="clear">&nbsp;</div>


</body>
</html>